package com.qqtech.qquan.homemaking.model;

import java.math.BigDecimal;

import org.apache.commons.lang3.builder.ToStringBuilder;
import org.apache.commons.lang3.builder.ToStringStyle;

import com.qqtech.core.frame.model.BaseDomain;

@SuppressWarnings("serial")
public class HomemakingBase extends BaseDomain{

	//columns START
    /** 名称 */
	private java.lang.String name;
    /** 图片，多个以;分开 */
	private java.lang.String img;
    /** 类别id */
	private Integer typeId;
    /** 营业状态:1-正常;2-暂停 (接单状态) */
	private java.lang.Integer status;
    /** 审核状态:1-待审核;2-通过;3-不通过 */
	private java.lang.Integer auditStatus;
    /** 审核时间 */
	private java.sql.Timestamp auditAt;
    /** 定金 */
	private BigDecimal deposit;
    /** 范围:1-同城;2-周边1公里;3-周边3公里;4-周边5公里 */
	private java.lang.Integer range;
    /** 服务描述 */
	private java.lang.String remark;
    /** 发布人id */
	private java.lang.Integer creatorId;
    /** 预约人数 */
	private java.lang.Integer orderedCount;
    /** 是否显示:1-是;2-否 */
	private java.lang.Integer isShow;
	/** 社区id */
	private Integer communityId;
	//columns END
	public HomemakingBase(){
	}

	public HomemakingBase( java.lang.Integer id ){
		this.id = id;
	}

	public void setName(java.lang.String name) {
		this.name = name;
	}

	public java.lang.String getName() {
		return this.name;
	}
	
	public void setImg(java.lang.String img) {
		this.img = img;
	}

	public java.lang.String getImg() {
		return this.img;
	}
	
	public Integer getTypeId() {
		return typeId;
	}

	public void setTypeId(Integer typeId) {
		this.typeId = typeId;
	}

	public void setStatus(java.lang.Integer status) {
		this.status = status;
	}

	public java.lang.Integer getStatus() {
		return this.status;
	}
	
	public void setAuditStatus(java.lang.Integer auditStatus) {
		this.auditStatus = auditStatus;
	}

	public java.lang.Integer getAuditStatus() {
		return this.auditStatus;
	}
	
	public void setAuditAt(java.sql.Timestamp auditAt) {
		this.auditAt = auditAt;
	}

	public java.sql.Timestamp getAuditAt() {
		return this.auditAt;
	}
	
	public void setDeposit(BigDecimal deposit) {
		this.deposit = deposit;
	}

	public BigDecimal getDeposit() {
		return this.deposit;
	}
	
	public void setRange(java.lang.Integer range) {
		this.range = range;
	}

	public java.lang.Integer getRange() {
		return this.range;
	}
	
	public void setRemark(java.lang.String remark) {
		this.remark = remark;
	}

	public java.lang.String getRemark() {
		return this.remark;
	}
	
	public void setCreatorId(java.lang.Integer creatorId) {
		this.creatorId = creatorId;
	}

	public java.lang.Integer getCreatorId() {
		return this.creatorId;
	}
	
	public void setOrderedCount(java.lang.Integer orderedCount) {
		this.orderedCount = orderedCount;
	}

	public java.lang.Integer getOrderedCount() {
		return this.orderedCount;
	}
	
	public void setIsShow(java.lang.Integer isShow) {
		this.isShow = isShow;
	}

	public java.lang.Integer getIsShow() {
		return this.isShow;
	}
	
	public Integer getCommunityId() {
		return communityId;
	}

	public void setCommunityId(Integer communityId) {
		this.communityId = communityId;
	}

	@Override
	public String toString() {
		return ToStringBuilder.reflectionToString(this,
				ToStringStyle.MULTI_LINE_STYLE);
	}
}

